#!/bin/sh
#php yii deploy/publish-assets wap && \
#php yii deploy/publish-assets frontend && \
#php yii deploy/publish-assets backend && \
php yii migrate/up && \
php yii lw-admin/admin/create 18812340001 1@1.com a111111 --super && \
php yii config/set pay_apiUrl '...' 'apipay.cdfex.cn'  && \
php yii config/set pay_apiEncryptionPublicKeyPath '/data/www/yjstoc/common/secret/pay/encryption-public.key' '平台请求支付的加密公钥' && \ 
php yii config/set pay_platformSignaturePrivateKeyPath '/data/www/yjstoc/common/secret/platform/signature-secret.key' '平台请求支付的签>名私钥' && \
php yii config/set platformEncryptionPrivateKeyPath '/data/www/yjstoc/common/secret/platform/encryption-secret.key' '支付请求平台的解密>私钥' && \
php yii config/set paySignaturePublicKeyPath '/data/www/yjstoc/common/secret/pay/signature-public.key' '支付请求平台的验签公钥' && \
php yii config/dump
